﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using Digitalmes.Model.PackageManagement;
using Digitalmes.Model;

namespace Digitalmes.ViewModel.PackageManagement.PackageParaVMs
{
    public partial class PackageParaBatchVM : BaseBatchVM<PackagePara, PackagePara_BatchEdit>
    {
        public PackageParaBatchVM()
        {
            ListVM = new PackageParaListVM();
            LinkedVM = new PackagePara_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class PackagePara_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._PackagePara._ValueName")]
        public string ValueName { get; set; }
        [Display(Name = "_Model._PackagePara._ValueMode")]
        public ValueTypeEnum? ValueMode { get; set; }
        [Display(Name = "_Model._PackagePara._Value")]
        public string Value { get; set; }
        [Display(Name = "_Model._PackagePara._Remark")]
        public string Remark { get; set; }
        [Display(Name = "_Model._PackagePara._Scheme")]
        public long? SchemeId { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}